//
//  iCloudTestViewController.h
//  icloudtest
//
//  Created by iMac-hxsd on 12-2-18.
//  Copyright 2012年 __MyCompanyName__. All rights reserved.
//

@interface iCloudTestViewController : UIViewController <UITextViewDelegate>
{

}

@property (nonatomic, strong) NSString *filePath;
@property (nonatomic, strong) NSURL *icloudURL;
@property (nonatomic, strong) IBOutlet UITextView *textView;
@property (nonatomic, strong) IBOutlet UILabel *label;

// 按下上传按钮
- (IBAction) uploadPressed : (id) sender;
// 按下下载按钮
- (IBAction) downloadPressed : (id) sender;
// 检查文件状态并下载
- (BOOL) downloadFileIfNotAvailable : (NSURL*) file;

@end